package example.pattern.adpater;

/**
 * Adapter
 * 
 * @author Administrator
 *
 */
public class BannerPrinter implements Printable {
	private Banner banner;//Adaptee
	
	public BannerPrinter(String content){
		banner = new Banner(content);
	}
	
	@Override
	public void printWeak() {
		banner.printParen();
	}

	@Override
	public void printStrong() {
		banner.printAster();
	}

}
